#!/bin/bash
# install go
cd /usr/local/app
export VERSION=1.22.0 OS=linux ARCH=amd64
#wget https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz

wget https://studygolang.com/dl/golang/go$VERSION.$OS-$ARCH.tar.gz
#https://studygolang.com/dl/golang/go1.22.0.linux-amd64.tar.gz

tar -xzvf go$VERSION.$OS-$ARCH.tar.gz
export PATH=$PWD/go/bin:$PATH
